﻿using UnityEngine;
using System.Collections;

public class WorldState :gxGameState {
    public Camera mainCamera;
    public override int Init()
    {
        Load();
        mainCamera = GameObject.Find("Main Camera").GetComponent<Camera>();
        return 1;
        //return base.Init();
    }

    public override bool Load()
    {
        Application.LoadLevel(0);
        return true;
        //return base.Load();
    }

    public override void Release()
    {
        mainCamera = null;
    }

    public override void Pause()
    {
        
        base.Pause();
    }
    public override void Update(float dt)
    {

    }
}
